package com.xc.hotelmgr.order.modules.order.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 采购渠道
 * 
 * @author kemmy
 * @email kemmy@gmail.com
 * @date 2020-12-03 11:41:02
 */
@Data
@TableName("dt_order_channels")
public class DtOrderChannelsEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Long id;
	/**
	 * 分销商店铺编码
	 */
	private Integer storeId;
	/**
	 * 分销商编码
	 */
	@TableField(exist = false)
	private Integer dtId;
	/**
	 * 渠道：
            1:携程
            2：美团
            3：其他
	 */
	private Integer chanel;
	/**
	 * 
	 */
	private String accessKey;
	/**
	 * 
	 */
	private Integer sid;
	/**
	 * secretKey
	 */
	private String secretKey;
	/**
	 * 
	 */
	private String accessToken;
	/**
	 * 
	 */
	private String refreshToken;
	/**
	 * 
	 */
	private Integer expiresIn;
	/**
	 * 
	 */
	private String uniqueId;
	/**
	 * 佣金比例
	 */
	private Integer commRate;

	private Integer commRateFz;
	/**
	 * 验价容忍
	 */
	private Integer priceTolerance;

	private Date refreshTime;

	private Integer profitPrice;

	private Integer profitPercent;

}
